package Cards;

/**
 * @author Avia Tam
 * @author Assaf Miron
 *
 */
public class Move_card extends Card {
	public enum eGoTo {START, NEXT_SURPRISE, NEXT_WARNING, PRISON};
	// We Will use only One Integer to Specify where to Go 
	eGoTo specific_location; // A Specific Square Location in the Game
	
	/**
	 * @param type The Card Type (Surprise, Warning) 
	 * @param description The Card Description
	 * @param specific_location A Specific Square Location in the Game
	 */
	public Move_card(CardType type, String description,	eGoTo specific_location) {
		super(type, description); // Construct the Card
		// We Allow the Use of only one Indicator - Check witch indicator is Initialized
		// Give precedence to the Specific Location
		if(specific_location != null) // The Specific Location is Initialized
		{
			this.specific_location = specific_location; // Initialize the Specific Location 
		}
		else // The Number of Steps is Initialized
		{
			this.specific_location = null; // Set the Specific Location to 0 - Don't Use it in this Card
		}
	}
	
	/**
	 * @return The Specific Location the Card Points to
	 */
	public eGoTo getSpecific_location() {
		return specific_location;
	}
	
}
